package com.young.ysepay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.young.ysepay.dao.YsReportReceiptDao;
import com.young.ysepay.domain.YsReportReceiptDO;
import com.young.ysepay.service.YsReportReceiptService;



@Service
public class YsReportReceiptServiceImpl implements YsReportReceiptService {
	@Autowired
	private YsReportReceiptDao ysReportReceiptDao;
	
	@Override
	public YsReportReceiptDO get(String id){
		return ysReportReceiptDao.get(id);
	}
	
	@Override
	public List<YsReportReceiptDO> list(Map<String, Object> map){
		return ysReportReceiptDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ysReportReceiptDao.count(map);
	}
	
	@Override
	public int save(YsReportReceiptDO ysReportReceipt){
		return ysReportReceiptDao.save(ysReportReceipt);
	}
	
	@Override
	public int update(YsReportReceiptDO ysReportReceipt){
		return ysReportReceiptDao.update(ysReportReceipt);
	}
	
	@Override
	public int remove(String id){
		return ysReportReceiptDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return ysReportReceiptDao.batchRemove(ids);
	}
	
}
